Ask Question, Ask an Expert


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++

Projectdecision statementsdirections read carefully and

Project: Decision Statements Directions (Read CAREFULLY and follow COMPLETELY): - Create the following programs in C++ that perform the purpose described and show the sample output (with user input where applicable). - I ...

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 ...

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 ...

Discussionkeyboard versus file input please respond to the

Discussion "Keyboard versus File Input" Please respond to the following: • Suppose you are designing a C++ application that needs to capture user input specifically via a keyboard or from a file. Determine the method tha ...

Transaction processing system tpsxyz electronics is one of

Transaction Processing System (TPS) XYZ Electronics is one of the most popular electronics companies In Sultanate of Oman the company offers affordable electronic gadgets such as mp3 players, portable movie players, mobi ...

Write a c application that does the followingitem 1 prompts

Write a C++ application that does the following: ITEM 1: Prompts the user to choose one of the following series: 1 + 1/2 + 1/3 + ... + 1/n ((((x * 2) * 2) * ...) * 2) series of n multiplications x + (x * 1) + (x * 2) + ( ...

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 ...

Assignmentpart acomplete the following questionswrite c

Assignment Part A Complete the following questions: Write C++ code to open a document with the name Hello.txt, place the message "Hello, World!" in the document, and exit the document. Re open the file you closed, and re ...

Programming in cbubba tubs bbq rub is a company that makes

Programming in C++ Bubba Tub's BBQ Rub is a company that makes different BBQ dry rubs and sauces. They make each product when it is ordered with the freshest ingredients and sell it by the unit. A unit is 2 ounces of pro ...

Computer sciencewhere do you think c and coding games in c

Computer Science Where do you think C++ and coding games in C++ is headed in the next five years? How about in the next 10 years? Do you think there are any significant improvements that need to be made to the code to en ...

  • 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