Question 1 write a program that gives the following table

Assignment Help Computer Engineering
Reference no: EM13347819

Question 1: Write a program that gives the following table. Use single cout statement and setw().

            1990              123

            1991             2345

            1992            34567

            1993           123456

Question 2: Write a program that reads the radius of circle and shows its area and diameter.

Question 3: Write a program that reads the height and length of rectangle and show the area and perimeter of the rectangle.

Question 4: Write a code that takes two integers and arithmetic operator from user and apply all given arithmetic operators on given numbers.

Question 5: Write a program that takes one side of square then evaluate and show the area of square.

Question 6: Write a program that reads the temperature from user in Celsius scale and display in Fahrenheit and Kelvin scale.

Question 7: Write a program that takes weight in kilograms and show in grams and milligrams.

Question 8: Write a program reads number from user and show either it is multiple of 2 or 5 or 7 or not multiple of any given category.

Question 9: Write a program that takes two time from user in hr:min:seconds format and show the difference between given two times.

Question 10: Prepare a program that takes two dates from user in dd/mm/yy and prints difference between given two dates.

Question 11: Write a program that takes three fractions a/b, e/f and c/d from user. Perform addition of given fractions as follow:

     a         c        e                   ans

  ---- + -----  + -----      =    --------

   b        d         f                     ans
Question 12: Write a c program that takes marks of subject from user. Given marks must be greater than 0 and less than 100. Your program have to perform grading on given marks (A, B, C, D, F). You are free to decide grading criteria.

Question 13: Write a c program that takes four numbers from user and gives smallest and largest amongst them.

Question 14: Write a program asking user to select p for pine, o for oak, or M for mahogany. Show the price of the table pine - 100, oak- 225 and mahogany- 310 if user chooses any other than listed make price 0.

Question 15: A certain grade of steel is graded according to the subsequent condition:

-  Hardness must be greater than 50.

-  Carbon contents must be less than 0.7.

-  Tensile strength must be greater than 5600

The grades are as follows:

-  Grade is 10 if all the three conditions are met.

-  Grade is 9 if conditions 1 and 2 are met.

-  Grade is 8 if conditions 2 and 3 are met.

-  Grade is 7 if conditions 1 and 3 are met.

-  Grade is 6 if only one condition is met.

-  Grade is 5 if none of the conditions are met.

Write a program which will need user to give values of hardness, carbon content and tensile strength of the steel under consideration.

Find and output the grade of the steel.

Reference no: EM13347819

Questions Cloud

Aimsthe main purpose of the assignment is to let you : aimsthe main purpose of the assignment is to let you practice the following programming techniques read data from
Project is for designing and developing a college : project is for designing and developing a college registration program. write a java program to register students for a
Question 1 for many years most people in kaur have either : question 1 for many years most people in kaur have either worked on farms or owned businesses or they have been
Write a report on future generation telecommunication : write a report on future generation telecommunication technology.5g technologies can amend the most high-bandwidth
Question 1 write a program that gives the following table : question 1 write a program that gives the following table. use single cout statement and
You are an audit senior of kca a boutique three partner : you are an audit senior of kca a boutique three partner firm with 20 staff. it is 16 july 2013 and your firm has
Question 1a explain the term expected monetary value when : question 1a explain the term expected monetary value when applied to a business project with an uncertain outcome. b
Assignment you are interested in proposing a new venture to : assignment you are interested in proposing a new venture to the management of your company. pertinent financial
Question 1 write a program to print the following patterna : question 1 write a program to print the following patterna 1 b 11 2 2 21 2 3 3 3 31 2 3 4 4 4 4 41 2 3 4 5 5 5 5 5

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd