Labs

Lab 1

The "Silly Sentences" program generates a fun and personalized short story based on user inputs such as names, adjectives, and nouns. It combines these words into humorous sentences to create a playful narrative.

Lab 2

This code calculates the area of a room composed of a square, a rectangle, and a triangle based on user input for the side lengths. It then outputs the total area by summing the areas of these three shapes..

Lab 3

This code interacts with the user through a series of fashion-related questions, offering customized responses based on their inputs about shoes, tops, bottoms, and accessories. It includes conditional logic for personalized feedback and generates random compliments to keep the interaction lively and engaging.

Lab 4

This code prompts the user to input a specified number of integers and checks each for divisibility by 3. It counts and prints how many numbers are divisible by 3 and how many are not, displaying the results at the end.