عسوله
New Member
مسااااااااااااااااااااااااااائكم عسل
ابي حل البرامج التاليه بالغة++ c الله يرضى عليكم بسرعه لان عندي اختبار
Problem 1:
Write a program that display menu for the user like below. According to the user selection, program will print Triangle and Diamond in shape of asterisks ‘*’ or will exit the program. Your program should validate user input to be positive more than 0. Program should display the menu until user chooses to quit.
-------------------------------------------------
Welcome to my program
--------------------------------------------------
Main Menu
1- Print Triangle
2- Print Diamond
3- Quit
Enter your choice:
Problem 5:
Write a program that prints the value 100.453627 rounded to the nearest digit, tenth, hundredth, thousandth and ten thousandth using only techniques you have learned.
Problem 6:
Write a C++ program to read and convert temperatures from degree Celsius to degrees Fahrenheit using the flowing formula:
F = (9/5) C + 32
Where F is the temperature in degrees Fahrenheit and C is the Temperatures in degrees Celsius. Hint: Use typecasting
ابي حل البرامج التاليه بالغة++ c الله يرضى عليكم بسرعه لان عندي اختبار
Problem 1:
Write a program that display menu for the user like below. According to the user selection, program will print Triangle and Diamond in shape of asterisks ‘*’ or will exit the program. Your program should validate user input to be positive more than 0. Program should display the menu until user chooses to quit.
-------------------------------------------------
Welcome to my program
--------------------------------------------------
Main Menu
1- Print Triangle
2- Print Diamond
3- Quit
Enter your choice:
Problem 5:
Write a program that prints the value 100.453627 rounded to the nearest digit, tenth, hundredth, thousandth and ten thousandth using only techniques you have learned.
Problem 6:
Write a C++ program to read and convert temperatures from degree Celsius to degrees Fahrenheit using the flowing formula:
F = (9/5) C + 32
Where F is the temperature in degrees Fahrenheit and C is the Temperatures in degrees Celsius. Hint: Use typecasting