Assignment # 1
Due Date Jun 06, 2020
Lesson 1 to 9
Total Marks: 20
Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
Students having same subject can start discussion here to solve assignment, GDB & Quiz and can clear their concepts until solution is provided.
P.S: Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”
Then copy Questions from assignment file and paste in Discussion.
+ http://bit.ly/vucodes (For Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (For Past Papers, Solved MCQs, Short Notes & More)
+ Click Here to Search (Looking For something at vustudents.ning.com?)
+ Click Here to Join (Our facebook study Group)
CS506 Web Design and Development Assignment No. 1 Solution by VU ACADEMY
You are required to develop a Java program named MyATM, which should simulate behavior of a typical ATM (Automated Teller Machine). In which a user, after entering card details, can deposit amount, withdraw cash and view current balance. The program should be based on a user friendly interface; need to use Java basic GUI component (i.e. JOptionPane) for this purpose. Further, all information must be saved in a backend database using simple text file.
At start, your program should ask the user to provide card number (e.g. vu-bsxxxxxxx) and pin code (e.g. 1234) as input. After taking input from user the program should fetch user data corresponding to the input from database (i.e. text file) and store in a global variable (e.g. debitCard). Taking input from user is shown in figure no 1.
If input values are correct (i.e. provided values are same as given in text file) then following ATM services should be displayed via GUI;
1. Deposit Amount
2. Withdraw Cash
3. Check Balance
4. Exit the Program
However, in case, if input values are not correct (i.e. found no user against provided card number and pin code) then appropriate message should be shown, like; "Invalid Card No or wrong Pin Code".
1. Deposit Amount:
Each time, user selects this option, s/he will be prompted to enter money for deposit that must be in multiple of Rs. 500/- (hint is given below) and up to a maximum of Rs. 25000/- per transaction. If inputs are correct then the amount must be added in current balance and as well as in database. However, in case of wrong input, appropriate message should be displayed.
2. Withdraw Cash:
User can withdraw any cash but in multiple of Rs. 500/- (hint is given below) and up to a maximum of Rs. 25000/- per transaction by using this option. However, if balance is zero or withdraw amount is greater than the balance, then appropriate message should be displayed. Otherwise, amount must be deducted from current balance and database should be maintained.
3. Check Balance:
The program should fascinate the user by displaying the current balance via GUI.
4. Exit the Program:
Before exiting, the program should display the developer information (i.e. Student Id and name) via GUI.
A simple text file, which should contain single line "vu-bsxxxxxxx,1234,0" in it and must be saved as bsxxxxxxx.txt.
Here, "bsxxxxxxx" at both (i.e. file name and single line text) must be same as your own student id.
And "vu-bsxxxxxxx" is card no, "1234" is pin code and "0" is initial balance.
Dear Students I have Solved and Uploaded the Assignment of CS506. I have also tried to explain it to you.
The biggest issue that comes up when submitting an assignment is copy paste.
To fix this, I have explained in video how we can save copy paste issue by how to do that change in code / assignment.
You have to watch complete video to get exact solution and overcome copy paste issue.
thanks VU Academy. Keep it up
Bs aik cheez ye k cmd main pehle Javac Main.java compile krni hai phir Java Main command lagani hai..... aap ne direct Java Main lagai jis ki waja se mera error a raha tha...
AOA, Faisal bhai, Mashallah aap ne buha acha explain kia he lakin agar aap kode wali file send kar den to meharbani ho gi on my email: email@example.com
CS506 assignment 1 SOLUTION spring 2020 Correct solved Complete
CS506 Assignment 1 Complete Solution Spring 2020,CS506 Assignment 1 Complete Solution,CS506 Assignment 1,CS506,CS506 assignment 1 solution,CS506 assignment spring 2020,CS506 assignment solution spring 2020,CS506 assignment, assignment 1 CS506 solution, solution CS506 assignment 1, CS506 assignment 1 solution 2020,CS506 assignment solution 2020,CS506 assignment 1,CS506 assignment 1 solution spring 2020,CS506 assignment no 1 solution spring 2020,CS506 assignment no 1 solution 2020,CS506 1st assignment solution 2020,CS506 1st assignment solution,CS506 1st assignment solution spring 2020,assignment solution spring 2020,CS506 Assignment 1 Complete Solution Spring 2020,CS506 Assignment 1 Complete Solution,CS506 Assignment 1,CS506,CS506 assignment 1 solution,CS506 assignment spring 2020,CS506 assignment solution spring 2020,CS506 assignment, assignment 1 CS506 solution, solution CS506 assignment 1 CS506