Computer Programming Assignment 1 Leeman Sithole
Computer Programming Assignment 1 Leeman Sithole
ASSIGNMENT COVER
REGION: _________________HARARE_____________________________________________
MAILING ADDRESS:__blackflame922@gmail.com_____________________________________
ASSIGNMENT TITLE:
_________________________________________________________________________________
_________________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
The education 5.0 is a policy that has been billed as important policy instrument aimed at
transforming the Zimbabwean society in particular through universities.
Education 5.0 by their nature and character are better positioned to grasp and decipher the
threatening disruptive technologies such as IoT (Internet of Things), advanced robotics, and
automation of knowledge work that continue to dramatically reshape the global businesses
and social landscape. (Enoch Jonathan).
According to this policy, a state subscribed is to immediately operate in the industry solution
provider (ISP) mode. Programming is what is mostly used to design the programs that are
used to decipher the problems and create the solution of the problems for example A.I
programs that aid the worker with more difficult equations that the simple mind cannot
decipher.
This model is aimed at improving the country`s economy using technological advancements
that are brought up by the various universities who have adopted the education 5.0 module or
system.
It is meant to advance the isolated technology in Zimbabwe and the country has adopted it to
retool and revive industry using the latest technology.
Step 1: start
Step 3: Create a loop to print and read the number from the user
Step 5: to read the middle of the number so that it can be arranged in the right way.
Step 6: print the binary number from bottom up and print output.
3) Write a program to see if the year is a leap year or not.
Step 2: Take input of year from user and check if the year is divisible by 4
Step 4: loop several years to print out the year that is a leap year.
i) For example it is going to take years from 1900 to 2100 and determine if it is a
leap year or not (for (int y=1900; y<2100; y++)).
Step 5: End
4) Write a program that mimic how an ATM works
Step 1: start
Step 2: declare the variables that are used, phone, balance, withdrawal, deposit, password,
account, create account, and amount
Step 3: Take input from user using the opt variable and store it in the opt variable.
Step 4: use FILE*fp to open files and save the account that you have created
Step 6: Display the menu after the validation of correct password and phone number recorded
in the phone.dat file,