0

Assignment 2 Cs508 – Modern programming languages Semester Spring 2021

cs508 assignment 2 solution 2021

CODE:

START
	STRING = INPUT
	OUTPUT = "Please Enter a String: " STRING
	A1 = ('a' | 'e' | 'i' | 'o' | 'u' | 'A' | 'E' | 'I' | 'O' | 'U') . V
        B2 = ('b' | 'c' | 'd' | 'f' | 'g' | 'j' | 'k' | 'l' | 'm' | 'n' | 'p' | 'q' | 'r' | 's' | 't' | 'v' | 'w' | 'x' | 'y' | 'z' | 'B' | 'C' | 'D' | 'F' | 'G' | 'H' | 'J' | 'K' | 'L' | 'M' | 'N' | 'P' | 'Q' | 'R' | 'S' | 'T' | 'V' | 'W' | 'X' | 'Y' | 'Z') . C
	
	STR1 = ''
	STR2 = ''

	CNTR1 = 0
	CNTR2 = 0

ALABEL STRING A1 = :F(BLABEL)
	STR1 = STR1 '' V
	CNTR1 = CNTR1 + 1 :S(ALABEL)

BLABEL STRING B2 = :F(RESULT)
	STR2 = STR2 '' C
	CNTR2 = CNTR2 + 1 :S(ALABEL)

RESULT OUTPUT = 'FOUND' CNTR1 'VOWELS' STR1
	OUTPUT = 'FOUND' CNTR2 'Cons' STR2
END

DEMO:

TAGS:

virtual university,cs508 assignment solution,assignment solution,assignment solution spring 2021,cs508 assignment 1 solution 2021,cs508 solution,cs408 assignment 1 solution 2021,vu assignment,cs508 assignment no 3,cs302 assignment 2 solution 2021,cs607 assignment 2 solution 2021,cs508 assignment 3 solution 2020,cs508 assignment no 3 solution fall 2020,cs508 assignment no 3 solution,cs508 assignment 1,cs411 assignment 2 solution 2021,cs508 assignment no 1 solution spring 2021,assignment

shaad

Leave a Reply

Your email address will not be published. Required fields are marked *