WAP to display string concatenation using string operation.
CLS
INPUT " Enter first name "; N$
INPUT " Enter last name "; L$
PRINT " N$+L$
END
Monday, 4 November 2019
WAP that asks your marks in English,Nepal I,computer and science and calculate your total marks and percentage.
CLS
INPUT "Enter marks in English=";E
INPUT "Enter marks in Nepali=";N
INPUT "Enter marks in Computer=";C
INPUT "Enter marks in Science=";S
T=E+N+C+S
P=T/4
PRINT "Total marks =";T
PRINT "Total percentage =";P
END
CLS
INPUT "Enter marks in English=";E
INPUT "Enter marks in Nepali=";N
INPUT "Enter marks in Computer=";C
INPUT "Enter marks in Science=";S
T=E+N+C+S
P=T/4
PRINT "Total marks =";T
PRINT "Total percentage =";P
END
Subscribe to:
Posts (Atom)