|
| 1 | +Print "Hello, World!" to the screen. |
| 2 | +Display numbers 1 to 10. |
| 3 | +Print a square of * symbols. |
| 4 | +Calculate the sum of numbers 1 to 10. |
| 5 | +Create a simple GUI (e.g. with text and buttons). |
| 6 | +Print your name 5 times. |
| 7 | +Print even numbers from 2 to 20. |
| 8 | +Create a simple countdown from 10 to 1. |
| 9 | +Print the alphabet (A to Z). |
| 10 | +Print a triangle of * symbols. |
| 11 | +Calculate the factorial of a number. |
| 12 | +Check if a number is even or odd. |
| 13 | +Display the multiplication table for a number. |
| 14 | +Find the greatest common divisor (GCD) of two numbers. |
| 15 | +Check if a number is a palindrome. |
| 16 | +Calculate the nth Fibonacci number. |
| 17 | +Convert Celsius to Fahrenheit. |
| 18 | +Count the number of vowels in a string. |
| 19 | +Reverse a string. |
| 20 | +Find the largest number in an array. |
| 21 | +Create a program that adds two matrices. |
| 22 | +Sort an array using bubble sort. |
| 23 | +Check if a number is a prime number. |
| 24 | +Create a basic calculator (add, subtract, multiply, divide). |
| 25 | +Generate a random number between 1 and 100. |
| 26 | +Check if a word is an anagram of another word. |
| 27 | +Simulate rolling a pair of dice. |
| 28 | +Print the first n prime numbers. |
| 29 | +Draw a rectangle of * symbols. |
| 30 | +Find the sum of digits in a number. |
| 31 | +Calculate the area of a circle given its radius. |
| 32 | +Create a program that generates a username from a name. |
| 33 | +Implement a basic guessing game. |
| 34 | +Print the elements of a 2D array. |
| 35 | +Create a stopwatch timer. |
| 36 | +Count the occurrences of a character in a string. |
| 37 | +Print Pascal’s triangle. |
| 38 | +Calculate the power of a number (a^b). |
| 39 | +Create a program to simulate a coin toss. |
| 40 | +Sort an array using insertion sort. |
| 41 | +Convert a binary number to decimal. |
| 42 | +Implement a simple to-do list. |
| 43 | +Check if a year is a leap year. |
| 44 | +Print the sum of a series, e.g., 1 + 1/2 + 1/3 + ... + 1/n. |
| 45 | +Implement a simple login system. |
| 46 | +Convert a decimal number to binary. |
| 47 | +Display a pattern like a diamond using *. |
| 48 | +Find the second largest number in an array. |
| 49 | +Check if a string is a palindrome. |
| 50 | +Implement a Caesar cipher for text encryption. |
| 51 | +Find the sum of an array. |
| 52 | +Create a program to simulate a simple game of Rock, Paper, Scissors. |
| 53 | +Calculate compound interest. |
| 54 | +Create a simple inventory management system. |
| 55 | +Print the border of a square with *. |
| 56 | +Display the current system date and time. |
| 57 | +Print a spiral pattern of numbers. |
| 58 | +Calculate the average of numbers in an array. |
| 59 | +Find the maximum and minimum of numbers in an array. |
| 60 | +Implement a program to check for armstrong numbers. |
| 61 | +Create a Tic-Tac-Toe game for two players. |
| 62 | +Count the words in a sentence. |
| 63 | +Implement a simple stopwatch. |
| 64 | +Print the ASCII values of characters in a string. |
| 65 | +Create a program to find all divisors of a number. |
| 66 | +Convert a number from hexadecimal to decimal. |
| 67 | +Generate the multiplication table for 1 to 10. |
| 68 | +Find the LCM of two numbers. |
| 69 | +Check if a string contains only digits. |
| 70 | +Implement a number guessing game. |
| 71 | +Create a hangman game with a predefined word. |
| 72 | +Count the occurrences of each word in a sentence. |
| 73 | +Generate all permutations of a string. |
| 74 | +Implement a basic text-based menu system. |
0 commit comments