write a program in C for making calculator of 10 operations
Answers
Answered by
1
condition operator
#include<stdio.h>
#include<conio.h>
main()
{
int a=10,b=20,small;
small=(a<b)?a:b;
print f("the smallest value =%d",small);
getch();
}
#include<stdio.h>
#include<conio.h>
main()
{
int a=10,b=20,small;
small=(a<b)?a:b;
print f("the smallest value =%d",small);
getch();
}
Attachments:
Similar questions