Q1: Write an algorithm to imput a mmber. Find its square if the entered mumber is multiple of 10. If entered mumber if not a multiple of 10, then find its cube. [5]

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter1: Fundamentals Of C++ Programming
Section1.4: Preliminary Four: Algorithms
Problem 9E: (Numerical) Determine and write an algorithm to sort four numbers into ascending (from lowest to...
icon
Related questions
Question
Signature:
Questions for Even roll numnbers
Q1: Write an algorithm to imput a mmber. Fnd its square if the entered nmber is multiple of 10. If
entered mumber if not a multiple of 10, then find its cube. [5]
Transcribed Image Text:Signature: Questions for Even roll numnbers Q1: Write an algorithm to imput a mmber. Fnd its square if the entered nmber is multiple of 10. If entered mumber if not a multiple of 10, then find its cube. [5]
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Multithreaded Algorithms
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning