You are on page 1of 5

NAME: LARAIB ZAFAR

REG NO: 1880155

LAB TASK 15

Void signup()

Input Name email password Category

Out put Enter Name Enter Email Enter password Enter category

Void login()

Input email password

Output Enter email Enter password

Void manage profile()

Input name email password Change Confirm


password password
Out put Enter name Enter email Enter Enter new Enter new
password password password

Int donate (int amount of donation)

Input Amountofdonation

output Enter amount of donation

int check balance()

Input Checkdonation

Totalamount
output

Int assignitems (int of items)

input Noofitems

output itemasigned

Void signup()

input output

name Enter
email Enter Enter
password category
laraib email password category
laraibhere ******** donor
Enter
name
laraib Laraibhere ********* donor

Void login()

input output

output

email password email password


Laraibhere ******** Laraibhere ********
Zafarhere ******** Zafarhere ********
Void manage profile()

input output

nam Enter
email Enter
passwordEnter
New EnterConfirm
e email passwo New passworConfirm
password
rd passwo
d passwor
zafar zafarhere ****** rd &&&& d &&&&
Ente
r
nam
e
zafa zafarhe ****** &&&& &&&&
r re

Int donate (int amount of donation)

input output

amountofdonation
4000
Enter amountofdonation
4000

int check balance()

input output

Check donation
Total amount
totalamount
4000

Int assignitems (int of items)

assignitems
20
No of items
20
Int assignitems (int of items)

Lets suppose the assign items range is 1 to 20

E1: values less than 1

E2: values in the range

E3: values greater than 20

1 2 19 21

* x * * X *

E1 E3

E2

Int donate (int amount of donation)

Lets suppose the assign items range is 10 to n

E1: values less than 10

E2: values in the range

9 11 n

* x * *

E1

E2

Void login()

If password or email is incorrect invalid password or emai


E1: email is incorrect

E2: email is correct

E3: password is correct

E4: password is incorrect

Email incorrect email correct password correct password incorrect

* x * * X *

E1 E2 E3 E4

You might also like