Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. Task 2: Writing a C Program COMPILE RUN task2 Submit when you are ready. Check X Error: Pre command failed: task2.c: In function 'main':

image text in transcribed
image text in transcribed
image text in transcribed
3. Task 2: Writing a C Program COMPILE RUN task2 Submit when you are ready. Check X Error: Pre command failed: task2.c: In function 'main': task2.c:21:6: error: expected or before 'printf! printf("Subject Code: *s", subject code): #include int main() { //Printing codes here //declare and initialize char array named subjectcode char subjectcode[] = "CE0002L"; 1/declare and initialize char array named sub char sub [] = "Computer Fundamental and Programming"; //declare and initialize char array named magicwords char magicwords[] = "I love C Programming" 1/print all three char array in new line printf ("Subject Code: %s", subjectcode); printf(" Subject Description: %s", sub); printf(" Magic Words: %s", magicwords); return; 3 ting- se 3. Task 2: Writing a C Program Write a C Program that will meet the following output below: OUTPUT: Subject Code:CE0002L Subject Description: Computer Fundamentals and Programming Magic Words: I love C Programming

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

Explain how to compute the crash cost per unit of time.

Answered: 1 week ago