CodeMIRAI
0 XP

Practice

Challenges are checked against hidden tests the moment you run them. Quizzes draw ten fresh questions every round.

Add two numbersRead two whole numbers and print their sum. SolvedEasy+30 XPEven or oddPrint Even or Odd for a whole number. SolvedEasy+30 XPPersonal greetingRead a name and print a greeting with an f-string. SolvedEasy+30 XPFizzBuzzThe classic: multiples of 3 and 5. SolvedEasy+30 XPReverse a stringPrint a line of text backwards. SolvedEasy+30 XPCount the vowelsHow many a, e, i, o, u are in a line? SolvedEasy+30 XPLargest of a listFind the biggest number on a line. SolvedEasy+30 XPPalindrome checkDoes a phrase read the same both ways? SolvedMedium+50 XPMost common wordFind the word that appears most often. SolvedMedium+50 XPIs it prime?Print Prime or Not prime. SolvedMedium+50 XPFibonacci numbersPrint the first n Fibonacci numbers. SolvedMedium+50 XPAnagram pairsGroup words that are anagrams of each other. SolvedHard+80 XPAdd two numbersRead two numbers and print their sum. SolvedEasy+30 XPPositive, negative or zeroDescribe the sign of a number. SolvedEasy+30 XPTitle CaseCapitalise the first letter of every word. SolvedEasy+30 XPReverse the wordsSame words, opposite order. SolvedEasy+30 XPMin, max and averageSummarise a list of numbers. SolvedMedium+50 XPUnique and sortedRemove duplicates, then sort numerically. SolvedMedium+50 XPFizzBuzzMultiples of 3 and 5, in JavaScript. SolvedEasy+30 XPcamelCase to snake_caseConvert variable names between styles. SolvedMedium+50 XPBalanced bracketsAre the brackets properly nested? SolvedHard+80 XPAdd two numbersRead two integers with scanf and print their sum. SolvedEasy+30 XPLargest of threePrint the biggest of three integers. SolvedEasy+30 XPFactorialCompute n! with a loop. SolvedEasy+30 XPReverse the digitsTurn 1234 into 4321 using % and /. SolvedMedium+50 XPCount the even numbersRead n numbers and count the even ones. SolvedMedium+50 XPPrimes up to nPrint every prime number up to n. SolvedHard+80 XPAdd two numbersRead two integers with cin and print the sum. SolvedEasy+30 XPLetter gradeTurn a score into A, B, C or F. SolvedEasy+30 XPTimes tablePrint n x 1 to n x 10. SolvedEasy+30 XPSum of digitsAdd up the digits of a number. SolvedMedium+50 XPMinimum and maximumFind the smallest and largest of n numbers. SolvedMedium+50 XPFizzBuzzThe classic, in C++. SolvedEasy+30 XPCustomers in IndiaList the names of customers who live in India. SolvedEasy+30 XPProducts under 40Find the cheaper products and their prices. SolvedEasy+30 XPOut of stockWhich products have run out? SolvedEasy+30 XPCustomers per countryCount customers in each country. SolvedMedium+50 XPAverage salary by departmentSummarise salaries per department. SolvedMedium+50 XPOrders with customer namesJoin orders to customers. SolvedMedium+50 XPOrder totalsAdd up what each order is worth. SolvedHard+80 XPCustomers who never orderedFind customers with no orders at all. SolvedHard+80 XP