0% found this document useful (0 votes)
2 views6 pages

C++Lab H2

The document outlines a lab schedule for CENG 108 - Computer Programming II, focusing on string operations. It includes four lab exercises: counting letters and digits in a string, converting text to lowercase and uppercase, sorting characters by case, and printing the reverse of a string. Each lab requires user input and specific output formatting.

Uploaded by

maher sawsak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views6 pages

C++Lab H2

The document outlines a lab schedule for CENG 108 - Computer Programming II, focusing on string operations. It includes four lab exercises: counting letters and digits in a string, converting text to lowercase and uppercase, sorting characters by case, and printing the reverse of a string. Each lab requires user input and specific output formatting.

Uploaded by

maher sawsak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

CENG 108 - Computer Programming II LAB

2.WEEK
String Operations
Lab 1

• Write a program that counts the number of letters and


digits in a whitespace-free string entered by the user and
prints the result to the screen.
Lab 2

• Print the lowercase version and then the uppercase


version of a text obtained from the user.
Lab 3

Print the lowercase characters first, then the uppercase


characters in a string obtained from the user..
Lab 4

• Write a program that prints the reverse of the entered


text.

You might also like