Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab 07 - Exercise 2. Write a program that asks the user for a number (integer) and then will read in from the user the

image text in transcribed

Lab 07 - Exercise 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. Example. User enters 3. Then enters 3 floating point numbers - 3.4,4.7,2.4 The program will output 10.5 Lab 08 - Exercise 2. Write a program that asks the user to input a word. The program should then check whether the user has entered a palindrome (). () Palindromes are words or phrases that are spelt the same backwards as they are forward Eg. rotor, radar and level are all palindromic words

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases

Authors: Ian Robinson, Jim Webber, Emil Eifrem

1st Edition

1449356265, 978-1449356262

More Books

Students also viewed these Databases questions

Question

Dividend yield: What is a dividend yield? What does it tell us?

Answered: 1 week ago