Take input of your registration number(8-digits) in the University. Write a program to print all the prime numbers digits in your registration number
Pass your marks of CA-1(28), CA-2(27), and CA-3(0) of course INT102 to the function with header high (float *, float *, float*). Write a function that should return the highest CA marks.
Write a menu-driven program that asks the user to select a favorite color from the given colors. Keep asking the user three times for selecting the color from the list of the available colors. Do this with the help of a suitable loop and switch statement. Finally, you have to display the three favorite colors of the user.
Write a C++ program to execute the following the logic:
Create a class named with MagicNumber, having one data member like No and having different member function to perform the unique task. All the member functions are must be as argument based function.
GetNo(),PrintNo(int),FactNo(int),PatternNo(int),PrimeNo(int),SquareNo(int).
• GetNo function will get the any positive number from user.
• If no is >10 than call the SquareNo function and find the square of that no.
• If no >5 and <10 than call FactNo function and find the factorial of that no.
• If no<5 then call the PatternNo function and display any pattern based on that no.
• If given number is odd than call the PrimeNo function and check given no is prime or not.
Write a Program: Daily Supplement Cost
Your horse has to have 1 ounce of probiotic supplement a day. You can buy it per
pound, as a 10 lb pail at a 10% discount, or as a 20 lb pail at a 15% discount. Your
the goal is to produce formatted output showing the daily cost for each buying
option. You should ask the user to enter the price per lb.
your output should look similar to this:
Enter price per lb: $18.50
Buying option 1 lb 5 lb 10 lb
Cost per day ($) 1.16 1.04 0.98
how to make plagiarism detection software in c++.(i want code)
mini project of C++ Doctor Appointment System using (fuctions, arrays,structure)
Doctor's appointment - simulates the appointment system of any hospital.
Admin:
Add a Doctor Information
Delete or Modify a Doctor Information
Confirm an appointment
Calculate Charges
User:
Book an appointment
Search a Doctor by their name or specialization
Get invoices
About assignment of c++
In put
Each Student name
Each Student father name
Each Student id number
Number of students
Number of subject
Each subject
Each subject credit hours
Each subject grade
Then calculate GPA
Out put
Student name
Student father name
Student Id number
GPA
If grade is F the student is fail.
The program must be display if you ask one student information.
About assignment of c++
In put
Each Student name
Each Student father name
Each Student id number
Number of students
Number of subject
Each subject
Each subject credit hours
Each subject grade
Then calculate GPA
Out put
Student name
Student father name
Student Id number
GPA
If grade is F the student is fail.
The program must be display if you ask one student information.
write c++ programming input each student name each student father name each student id no each subject credit hour each subject grade then calculate gpa output student name