Question: write both code in C language under Visual studio and show outputs Code 1. People are said to be of a particular generation depending on
write both code in C language under Visual studio and show outputs 
Code 1. People are said to be of a particular generation depending on when they were born, there is some debate about the exact border years but generally accepted classification are: 1901192719281942194319641965197619771995199620122013+-GreatestGeneration.-SilentGenerationorTraditionalist.-BabyBoomers.-GenerationX-MillennialsorGenerationY.-CentennialsorGenerationZ.-GenerationAlpha. Write a program that asks the user their name and year of birth then outputs a message greeting them and telling them which generation they belong to. Write the program using switch case and check initially if the user enters valid year Code 2. Write a program that asks the user for a number (integer) and then will read in from the user the same number of floating-point values. When the user has entered the correct number of values, output the sum of those values. If not generate error message Example. User enters 3. Then enters 3 floating point numbers 3.4,4.7,2.4 The program will output 10.5 User enters 3. Then enters 3 floating point numbers 3.4,4.7,2.4,4.6 The program will output more data were entered User enters 7. Then enters 3 floating point numbers 3.4,4.7,2.4,4.6 The program will output less data were entered
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
