Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {
- int x;
- int a, b;
- char book[20];
- a=1234;
- b=12345;
- cout<<"Enter Student Number : ";
- cin>>x;
- cout<<"Enter Book : ";
- cin>>book;
- system("cls");
- if(x==a)
- {
- cout<<"Student Number : " <<x <<endl;
- cout<<"Name : Jan Rafael Teodoro" <<endl;
- cout<<"The Book You Borrow is " <<book <<endl;
- }
- else
- {
- cout<<"Student Number : " <<x <<endl;
- cout<<"Bryan Zamora" <<endl;
- cout<<"The Book You Borrow is " <<book <<endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement