Activity 14: Using the scanf() Function Write a program that accepts 5 symbols from the user and displays these symbols. Follow the format below. Sample output: Input 5 symbols: Symbol 1 >> % Symbol 2 >> # Symbol 3 >> & Symbol 4 >> @ Symbol 5 >> $
Activity 14: Using the scanf() Function Write a program that accepts 5 symbols from the user and displays these symbols. Follow the format below. Sample output: Input 5 symbols: Symbol 1 >> % Symbol 2 >> # Symbol 3 >> & Symbol 4 >> @ Symbol 5 >> $
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.6: Nested Loops
Problem 5E: (Mathematical functions) Write a program that calculates and displays values for y when y=xz/(xz)...
Related questions
Question
Activity 14: Using the scanf() Function
- Write a
program that accepts 5 symbols from the user and displays these symbols. Follow the format below.
Sample output:
Input 5 symbols:
Symbol 1 >> %
Symbol 2 >> #
Symbol 3 >> &
Symbol 4 >> @
Symbol 5 >> $
These are the 5 symbols:
$ @ & # %
2.Write a program that accepts the final grade of the 3 subjects of a student. Display these grades. Follow the format given below.
Sample output:
Input the Final grades of John Doe:
English 1 >> 1.5
Filipino 1 >> 2.1
SocSci 1 >> 1.9
Final Grades: John Doe
English 1 Filipino 1 SocSci 1
1.5 2.1 1.9
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 7 steps with 3 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,