5
I’m studying a workbook I found on the net, she asks for an exercise but did not teach to do it in the previous pages, I tried and it did not work, I thank you for your help.
Make a program that reads and stores in variables any two integers. Calculate and display the rest of the division of one by the other
float num1, num2, media; printf("\n digite um valor: "); scanf("%f",&num1); printf("\n digite outro valor: "); scanf("%f",&num2); media = num1 % num2; printf("\n %f \n", media);
You can accept an answer if it solved your problem. You can vote on every post on the site as well. Did any help you more? Need?
– Maniero