Write c program to accept inputs from user

Assignment Help C/C++ Programming
Reference no: EM1383776

Write down simple c program which accepts following inputs from user that is username and password, it must ask user what he will like to learn today and also ask user to enter char m=math , e= English. If user presses m it must tell the user welcome to mathematic quiz, sorry u do not have any maths question today and if u enter e it must tell user are you sure, i am sorry am not sure.

Reference no: EM1383776

Questions Cloud

Find the retention time of the house : Air inflow and outflow can be modeled as a flow of clean air into the house of 722 m 3 /h and an equal air flow out. Radon can be considered to be conservative in this problem. First find the retention time of the house.
Difference between the high point and the pvt : An equal-tangent crest vertical curve has a 50 mi/h design speed. The initial grade is +3%. The high point is at station 33+37.43 and the PVT is at station 37+18.26. What is the elevation difference between the high point and the PVT?
Identify which chromosome is gene : Fruit flies have 4-main chromosomes. Fruit flies also have number of body markers that are useful for mapping genes to given chromosomes.
Communes-middle class and social order : Are there any controls on the kibbutz leaders those who are "more powerful"? Can the people who voted them in would they be able to get rid of them if things are not going right? Are they there whether or not they do a job that benefits the kibbut..
Write c program to accept inputs from user : Write down simple c program which accepts following inputs from user that is username and password, it must ask user what he will like to learn today and also ask user to enter char m=math , e= English.
Sociological viewpoints of structure-functionalism : Compare and contrast the sociological viewpoints of: a) Structure-Functionalism; b) Conflict; and c) Interaction.
George has a standard unendorsed personal auto policy : George has a standard, unendorsed personal auto policy (PAP) with coverage for collision loss( with $ 500.00 deductible) and other than collision loss
Standard perception or reaction time-grade of the road : A driver is traveling 55 mi/hr on a wet road. An object is spotted on the road 450 ft ahead and the driver is able to come to a stop just before hitting the object. Assuming standard perception or reaction time and practical stopping distance, dete..
Baker machine company is a job shop that specializes : Baker Machine Company is a job shop that specializes in precision parts for firms in the aerospace industry. Figure 3.13 shows the current block plan for the key manufacturing centers of the 75,000 square-foot facility.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Program to enter number of values to be processed

Write c++ statements to permit the user to enter n, the number of values to be processed; then assign the anonymous array of n double values, storing its address in doublPtr.

  Represent an instruction supported by simpletron

Implementation contains a Simpletron class and several supporting Instruction classes

  Write a switch-case programming for calculation

How to use C++ to write a switch-case programming for calculation? Test the program for a wide range of possible inputs including division by zero and square root of negative values.

  Write program that stores the numbers in array

Write a c++ program that stores the following numbers in the array named miles: 15,22,16,18,27,23, and 20. have your program copy the data stored in miles to another array.

  Create class integerset

Create class IntegerSet for which each object can hold integers in the range 0 through 100. Represent the set internally as a vector of bool values. Element a[i] is true if integer i is in the set. Element a[j] is false if integer j is not in the set..

  Function declare that it can throw an ioexception

Every C++ function that performs file I/O will thus need to either declare that it can throw an IOException, or contain a try-catch-finally block to deal with it. Response?

  Develop a two dimensional interactive game

The player starts as a disk, but can "morph" (that is expand and contract) in selected directions

  Pros and cons of choosing two servers

Classify the two alternatives in terms of what type of application architecture they use. b. Outline the pros and cons of the two alternatives and make a recommendation to Fred about which is better.

  Create class having constructor to recieve two ints

Create a class (in C++)named Card. The class should have two int data members named face and suit.The class should have a constructor that recieves the two ints and uses them to initialize the data members.

  Change temperature fahrenheit to celsius and kelvin

Write a program in c++ that takes the temperature in Fahrenheit and convert it to Celsius And Kelvin:

  Draws a single level for a "rogue­like" computer game

You will write a program that draws a single level for a "Rogue­like" computer game. The program will parse a line of input text from an input file (room.txt), use the parsed text to determine the shape of the room and its contents and then draw the ..

  C++ programming uml diagrams

The goal of this lab is to better familiarize you with polymorphism and the factory design pattern, two key components in Assignment

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