please solve this program in Java and do the flowchart and the algorithms ☝️
Attachments:
Answers
Answered by
1
Answer:
/ C program to find largest of two numbers
#include <stdio.h>
int main()
{
int num1, num2, largest;
/*Input two numbers*/
printf("Enter two numbers:\n");
scanf("%d%d", &num1, &num2);
/*check if a is greater than b*/
if (num1 > num2)
largest = num1;
else
largest = num2;
/*Print the largest number*/
printf("%d", largest);
return 0;
}
Answered by
0
Explanation:
write write the multiples of 8 which are less than 26
Similar questions