Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MY NAME IS VICTOR MATRIX NUMBER IS 160111269401 Write a C++ program for the followings: 1.1) Declare identifiers to store your full name and student

image text in transcribedMY NAME IS VICTOR

MATRIX NUMBER IS 160111269401

Write a C++ program for the followings: 1.1) Declare identifiers to store your full name and student number. (2 marks) 1.2) Display the message "Salam Sejahtera! Enter your full name and student number:"; (1 mark) 1.3) Store your full name and student number in the identifiers declared in 1.1. Then display both. 1.4) 1.5) 1.6) (3 marks) Count and display how many vowels and consonants in your name. (6 marks) Sort and display the consonants in descending order. (5 marks) Create a function named Add that is able to return the sum of all digits in your student number. Call Add from the main function and display the sum. (6 marks) Create a function name Sum_Avg that is able to return the sum and average of the digits in your student number. Call Sum_Avg from the main function and display the sum and average values. (7 marks) 1.7)

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

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

ISBN: 1844804526, 978-1844804528

More Books

Students also viewed these Databases questions