1. Write function in C++ that will find factorial of a number. Number must be passed from calling function as an argument to function parameters.
Write function in C++ that will calculate table of a number in C++. Number must be passed from calling function as an argument to function parameters.
1. Write a program that check the type of the value and determine the data type of the value. In this program, you will develop a Type checking program (Type Checker).
If the argument of printType(true) is true or false, it will invoke a function inside and print a message “true is a boolean”. If it is int 463287462 then it should display “4632874 is Integer”. The sample output format is as follows:
A is a character data type
print an inverted pyramid by using for loop structure and 'setw' manipulator.
print a pyramid by using "setw" manipulator in C++
Make a calculator using if-else-if else statement which perform the addition, subtraction, multiplication, division and remainder operations. Take values and operator from user on runtime. Use do while loop for user choice. Means after performing one operation program will ask from user “do you want to do another calculation(yes/no)? ”. If user press then user will enter number 1, number 2 and operator for calculation and if user press no then terminate the loop.
Take a number from user and make a multiplication table of that number till 10
using do while loop.
Write a program that reads in a month of the year as a number and display the number of days in that mind. Keep in mind the impact of leap years
From the message added to a group on whatsapp it is possible to verify when a message has been delivered and who has read the message. This feature is an example of
Write the code to create the following html document (Be careful about the alignment of form
control).You can use table for form formatting.
Product Detail
Product Name:
Product Colour:
Product Size:
Customer Detail
Name:
Email:
CNIC:
Pay Nature: * Cash * Credit
Submit