Marie Simulator
Cerrado
Publicado
hace 6 años
Pagado a la entrega
$15-25 USD / hora
Cerrado
Write a Marie program that will input two decimal integers, A and B, where A is not greater than 94 and B is not greater than A. Only one ‘Input’ statement allowed for each variable! Note that it is OK for A to equal B! Then ADD 4 to B giving S. If S is EVEN, do not change it. If S is ODD, add 1 to make it an even integer.
Now subtract S from A giving the value N. Output A, B, S and N on separate lines. Repeat the loop until ‘0’ is entered for A, then Halt. (Do not ask for B, or do the calculations for S and N, or output anything if A=0!
Nº del proyecto: #16497299
Sobre el proyecto
3 propuestas
Proyecto remoto
Activo hace 6 años
3 freelancers están ofertando un promedio de $19 / hora por este trabajo
$16 USD / hora
(8 comentarios)
4.0
$15 USD / hora
(0 comentarios)
0.0