Write a Dart program to print the sum of two numbers

Code:

void main() {
  int a = 10;
  int b = 15;
  print(a + b);
}


Output:


Comments

Popular posts from this blog

Write a Dart program to convert from celsius degrees to Kelvin and Fahrenheit.

Write a Dart program to check two given integers and return true if one is negative and one is positive

Write a Dart program to compute the sum of two given integers, if two values are equal then return the triple of their sum