1
Maarifa ya kujenga
2
Maarifa ya kujenga
3
Maarifa ya kujenga
4
Maarifa ya kujenga
5
Maarifa ya kujenga
Question:...
Showing posts with label cpp-programming. Show all posts
Showing posts with label cpp-programming. Show all posts
Sunday, September 16, 2018
undefined
201
Question: Write a C++ program that prints or displays pascal triangle on screen
Solution
PLEASE LEAVE A COMMENT, OR ANY OTHER QUESTIONS INVOLVING ANY OF THE FOLLOWING LANGUAGES, C++, PHP, JAVASCRRIPT, HTML, CSS, MYSQL
...
undefined
201
Question: Write a C++ program that asks a teacher to enter marks of five subjects of his/her student and then calculate the average of the marks entered.
HINT: Use a while loop to iterate the five marks entered, when the fifth mark has been entered, the loop should exit, calculate the average and display...
undefined
201
Question: Write a c++ program to ask a user to enter a number, if a number is negative it should display "Negative number entered!" else if it is positive, it should determine if that number is greater than 10 or not.
Solution
PLEASE LEAVE A COMMENT, OR ANY OTHER QUESTIONS INVOLVING ANY OF THE FOLLOWING...
undefined
201
Question: The triangle inequality theorem states that the sum of the lengths of any two sides of a triangle must be greater than or equal to the length of the third side. Write a program that asks a user tp enter lengths of the three sides of a triangle. The program then tests whether the lengths supplied form a triangle.
Solution
PLEASE...