Qu 1
Write a program to model a simple calculator. You program should accept a pair of integers
(operands) and operators [addition / subtraction / multiplication / division and power (^)].
Design the output to display the entered values and the result of the arithmetic operations.
Your program should continue until users decide to quit and should display invalid data
entry messages.
Qu2
Write a program to process a collection of daily high temperatures. Your program should
count and print the number of hot days, the number of pleasant days and the number of
cold days. It should also display the category of each temperature. You should design the
category and the range of temperatures for each category. Print invalid data entry message
and prompt user to enter the valid input again.
And cld you make as simple as you can.Thx
something like
http://forum.codecal...calculator.html
Edited by dargueta, 21 April 2011 - 10:07 AM.
Dude...the fonts...


Sign In
Create Account

Back to top









