Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

My first c++ program

Program:1
/* sum of two numbers*/

#include<iostream>

#include<conio.h>

using namespace std;

int main()

float no1,no2,sum;

cout<<"enter two numbers :";

cin>>no1>>no2;

sum= no1+no2;

cout<<"sum="<<sum<<"\n";

getch();

Output :
enter two numbers :

45

63

sum=108

Written By: Pawan Kumar


CSE 2nd year
Date: 01/08/2020
18:47:17 श नवार, 1 अग त 2020

You might also like