The string "I learnt to program in computer science" will be stored in the variable Fact
6(a)String HandlingMedium3 marks
Complete the pseudocode algorithm to:
• calculate and output the length of the string stored in the variable Fact
• output, in upper case, the string stored in the variable Fact
pseudocode
01Fact ← "I learnt to program in computer science"
Answer
0 words
6(b)String HandlingEasy2 marks
Write the pseudocode statements to use a string function to output the word program taken from the string stored in the variable Fact