here is my code :D let them know. :D try if working - TopicsExpress



          

here is my code :D let them know. :D try if working #include #include #include int ok; char oper; float num1,num2,ans,r,sqr; void main() { clrscr(); gotoxy(30,1); printf("Computer Programming"); gotoxy(29,2); printf("Engineering Department"); gotoxy(20,3); printf("Davao Oriental State College of Sci & Tech"); gotoxy(30,5); printf("OPERATION ON NUMBERS"); gotoxy(5,7); printf("Enter First Number :"); gotoxy(5,8); printf("Enter Second Number :"); gotoxy(5,9); printf("Difference :"); gotoxy(5,11); printf("Enter Operation Code:"); gotoxy(5,12); printf("Answer :"); gotoxy(27,7); scanf("%f",&num1); gotoxy(27,8); scanf("%f",&num2); ans=num1-num2; sqr=pow(ans,.5); gotoxy(27,9); printf("%.2f",ans); gotoxy(27,12);printf("%.2f",sqr); if(sqr>0) { gotoxy(27,11); printf("Square root of Difference"); } gotoxy(29,24); printf("Press Any To Continue"); getch(); }
Posted on: Tue, 23 Jul 2013 16:18:01 +0000

Trending Topics



iv class="sttext" style="margin-left:0px; min-height:30px;"> thinkexist/quotations/loneliness/2.html Loneliness quotes

Recently Viewed Topics




© 2015