Computer Science, asked by keerthijoy902, 2 months ago

write a c++ program to find the difference of two numbers​

Answers

Answered by anuragmaurya585
1

#include<iostream>

#include<conio.h>

void main()

{

float num1, num2, difference;

cout<< "\n Enter a Number : " ;

cin>>num1 ;

cout<< "\n Enter another Number : " ;

cin>>num2 ;

difference = num1 - num2 ;

cout<< "\n The Difference between the Numbers is : "<<difference

getch();

}

Similar questions