Questions for Practice
Basic Dart Practice Questions​
- Write a program to print your name in Dart.
- Declare constant type of int set value 7.
- Write a program in Dart that finds simple interest. Formula= (p t r) / 100
- Write a program to print an integer entered by the user.
- Write a program to print String entered by the user.
- Write a program to multiply two floating-point numbers.
- Write a program to find quotient and remainder of two integers.
- Write a program to swap two numbers.
- Write a program to calculate the square of a number.
- Write a program in Dart to remove all whitespaces from String.
- Write a dart program to convert String to int.