Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 3 - Problem Description develop and run a C program that Displays your information properly: student name, id, and student email Declare an array

image text in transcribed

Exercise 3 - Problem Description develop and run a C program that Displays your information properly: student name, id, and student email Declare an array of characters of size 3 called arr1 Declare an array of characters of size 3 called arr2 > Prompts (ask) the user to enter the two arrays Note: Assume the user will enter a proper characters and numbers, no need to check for improper input > The program inserts the 3 characters of the first input in the array arr1. The program inserts the 3 characters of the second input in the array arr2. After that, the program displays the number represented by subtracting the two arrays to gather (the decimal value of first character in arr1 - the decimal value of second character arr2 ...etc.) > Add your name, ld, and email address as a comment at the beginning of the program. Sample output : Student name: Samer Sawalha Student id : 9999999 Student Email: 9999999@std.psut.edu.jo Enter three characters: ABC Enter three characters: abc The result is: -32-32-32

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

9th Edition

B01JXPZ7AK, 9780805360479

More Books

Students also viewed these Databases questions