Posts by Luan Nunes • 9 points
2 posts
-
0
votes2
answers54285
viewsQ: Analyze whether the number is even or odd, and which of the numbers is higher
setlocale(LC_ALL,"Portuguese"); int num1,num2; printf("\nInforme os números: "); scanf ("%i""%i",&num1,&num2); if (num1 % 2 == 0){ printf ("\nO número %i é par e",num1); }else { printf("\nO…
-
-2
votes1
answer41528
viewsQ: Calculation of percentage in C
" Encode, Compile and run a C program that receives the the basic salary of an employee, calculate and show the salary to be received, knowing that this employee has a 5% bonus on the basic salary,…