/Dart

Dart basic programs involving String manipulations

Primary LanguageDart

List Of programs:

  1. Create a program that asks the user to enter their name and their age. Print out a message that tells how many years they have to be 100 years old.

  2. Ask the user for a string and print out whether this string is a palindrome or not.

  3. Write a program (using functions!) that asks the user for a long string containing multiple words. Print back to the user the same string, except with the words in backwards order. For Example: (input) -> My name is Ajith (output) -> The final output should be Ajith is name My

  4. Ask the user for a number. Depending on whether the number is even or odd, print out an appropriate message to the user.

  5. Create a program that asks the user for a number and then prints out a list of all the divisors of that number.