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

Problem 1overview for problem 1a of this assignment you

Problem #1 Overview: For problem 1(a) of this assignment, you will need a C++ compiler. In order to receive credit, your program must compile and run; and you must provide the actual source code file so that I can compil ...

Pa 1 word countertabulating basic document statistics is an

PA #1: Word Counter Tabulating basic document statistics is an interesting exercise that leverages your knowledge of strings, files, loops, and arrays. In this homework, you must write a C++ program that asks the user fo ...

A write an array implementation of self-adjusting lists in

a. Write an array implementation of self-adjusting lists. In a self-adjusting list, all insertions are performed at the front. A self-adjusting list adds a find operation, and when an element is accessed by a find, it is ...

Object oriented programmingassignmentq1 assuming there are

Object Oriented Programming Assignment Q1: Assuming there are 7.481 gallons in a cubic foot, write a program that asks the user to enter a number of gallons, and then displays the equivalent in cubic feet. Q2: You can co ...

You need to program a microprocessor that would have a

You need to program a microprocessor that would have a temperature, gas, humidity and PIR sensor connected to it. It would send the data to a PC via a Zigbee and receive commands from the PC via the Zigbee to control mot ...

Objectives- gain experience with if if else and switch

Objectives - Gain experience with if, if else, and switch statements in C programs. - Experience using % operator and true false logic. Hints This program will be MUCH easier if you design how to do the logic in your own ...

Computer programmingobjectives1 opening a file reading from

Computer Programming Objectives: 1. Opening a file, reading from file, writing to a file and closing a file. 2. Sequential access files handling. 3. Practice C++ programming problems. Note: Carefully read the following i ...

1 write a program to find the sum amp average of the given

1) Write a program to find the sum & average of the given numbers using the while loop. 2) Write a program in C to find the sum and average of the given numbers stored in an array of n values.

Programming assignment- in this assignment you are

Programming Assignment- In this assignment you are requested to write a C++ program that displays the following colored pyramid on the screen: - The pyramid is 71 characters wide and 21 characters high. - To draw it, you ...

Q 1 write a c program to declare two integer one float

Q. 1 Write a C++ program to declare two integer , one float variables and assign 10, 15, and 12.6 to them respectively. It then prints these values on the screen. Q. 2 Write a C++ program to prompt the user to input her/ ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate