write a C++ program to find the smallest of two numbers using if else statement
Answers
Answered by
6
this is proper way to write a program
Attachments:


anann:
it is not clear
Answered by
0
Answer:
#include<iostream.h>
#include<conio.h>
void main()
{
int a,b,c
a=2
b=7
c=(a<b)?a:b;
cout<<"smallest number is:"<<<;
get ch()
}
out put
smallest number is:2
Similar questions
English,
8 months ago
Social Sciences,
8 months ago
Math,
8 months ago
History,
1 year ago
Geography,
1 year ago