what is a program

1

Write a C program to do the following: (10 marks) a. Declare two variables a and b of type integer b. Initialise the value of variable a to 3 and the value of variable b to 0 c. If the value of a is greater than 0, then assign b the value of a + 3

By Beginner Harvey Gleason at Oct 30 2020

0

test the program using the following procedure: stack of size n=6 1. call push(5) 2. call push(2) 3. call push(3) 4. call pop() 5. call push(6) 6. call push(9) 7. call push(3) 8. call display() 9. call top()

By Beginner Kristi Labadie at Apr 20 2021


Related code examples


Code examples by languages