New Text Document - #include #include...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 Page 1 #include <iostream> #include<cmath> using namespace std void main () //Problem 1: { //cout << "Hello Plz enter two number" <<endl double a,w int k,m do {cout <<"\nPLz enter Positive Numbers \n" cin>> a >>w } while (a <0 || w<0) w cout<<"\n1. Diffrent of tow numbers"<<"\n 2.Qoutient of tow numbers"<<"\n 3. Remainder of tow numbers" int z //cout <<"\nEnter Your choice : " do {cout <<"\nEnter Your choice :\n" cin>> z } while (z >3) switch (z) { case 1: cout<<"\nThe Defrance between Two number is : " if (a>w) cout <<a-w break case 2: cout<<"\nThe Qoution is : "
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/13/2009 for the course CS 346 taught by Professor Jehad during the Spring '09 term at Jordan University of Science & Tech.

Page1 / 4

New Text Document - #include #include...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online