Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

problem 1) prepare a program to convert a small letter into capital letter and vice versa.

problem 2) prepare a program to input the marks of a student in five subjects and find out the gradeaccording the following conditions:

Marks      Grade

>90         S

76-90      A

61-75      B

51-60      C

0-50        D

<40        Fail

problem 3) prepare a program to input the sales made by a salesman and find out the commissionaccording to the following conditions:

Sales              Commission

1-10000             4%

10001-20000     5%

20001-30000     6%

>30000             7%

problem 4) prepare a program to convert the temperature according to the following conditions:

Choice        Conversion

1                Fahrenheit to Celsius

2                Celsius to Fahrenheit

problem 5) WAP to find out the largest of three numbers.

problem 6) prepare a program to input three numbers and print them in descending order.

problem 7) prepare a program to input a number (1 to 7) and print the weekday name according to thegiven number.

problem 8) prepare a program to input a digit and print the digit in words.

problem 9) prepare a program to input two numbers and a choice and find out the result according to thefollowing conditions:

Choice             Result
1                     Add
2                     Subtract
3                     Multiply
4                    Divide
5                    Remainder

problem 10) prepare a program to input two numbers and an operator and find out the result according tothe following conditions:

Operator                   Result
‘+’                            Add
‘-‘                             Subtract
‘*’                            Multiply
‘/’                            Divide
‘%’                          Remainder

problem 11) prepare a program to compute the area of a circle, a rectangle or a triangle depending upon user’s choice.

Choice            Area
1                     Circle
2                   Rectangle
3                 Triangle

problem 12) prepare a program to input the marks in theory and practical and print the result.

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M94881

Have any Question? 


Related Questions in C/C++

Computer scienceyou have gathered your information on the

Computer Science You have gathered your information on the AI for the Tic-Tac-Toe game and began to develop your own ways to improve it using C++. Now, it's time to present your findings in a final paper. Remember that y ...

Programming cc assignmentsyoull need to download this to

Programming C/C++ assignments You'll need to download this To write the program. The programs will be written using the Microsoft Visual C++ Express Edition IDE (Integrated Development Environment), which can be download ...

Discussionwhile loops versus for loops please respond to

Discussion "While Loops versus For Loops" Please respond to the following: • Suppose you are writing a C++ program that plays a commercial video continuously within a kiosk at your favorite shopping mall within your home ...

Assignmentthis is the programthis program will use 2

Assignment This is the program: This program will use 2 different data structures to perform the same tasks; a vector and a dynamically sized array Write a complete C++ program that will: Declare a vector of integers wit ...

Assignmentwhen writing c programs include comments in your

Assignment When writing C++ programs include comments in your code, make the program readable by indenting, use meaningful variable and function names, and produce meaningful output. This assignment will be to write a bm ...

Assignmentinstructionsthis assignment is to implement your

Assignment Instructions This assignment is to implement your own mini-grocery store in C++. Suppose you have the following Food hierarchy: FOOD FRUIT APPLE BANANA GRAPE DAIRY MILK YOGURT CHEESE (your choice) (three items ...

Write a program that reads numbers from cin and then sums

Write a program that reads numbers from cin and then sums them, stopping when 0 has been entered. Construct three versions of this program, using the while, do - while , and for loops. Add the following to your program: ...

Assignmentbullwrite the code for each lab

Assignment • Write the code for each lab assignment. • Submit the lab in a single zip file in the online course shell. The lab must contain all .cpp files, along with any additional files that may be necessary for your p ...

1 write a c program that includes a function called lobster

(1) Write a C program that includes a function called lobster() that accepts three arguments: a character and two integers. The character argument is the character to be printed by lobster(). The second argument is the n ...

1 we know that from ece 109 to calculate the

1. We know that from ECE 109, to calculate the equivalent resistance of a network of resistors in series in parallel are given by: Write a C++ program that asks the user to input values for resistors (as many as they wou ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen