Computer Science, asked by anann, 1 year ago

write a C++ program to find the smallest of two numbers using if else statement

Answers

Answered by divergent07
6
this is proper way to write a program
Attachments:

anann: it is not clear
divergent07: saaf saaf to likha hai ...zoom kr lo
Answered by panneerk69
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