# A simple MIPS program that calculates the Gaussian sum between two numbers

# int main(void)
# {
#   int number1, number2;
#
#   printf("Enter first number: ");
#   scanf("%d", &number1);
#
#   printf("Enter second number: ");
#   scanf("%d", &number2);
#
#   int gaussian_sum = ((number2 - number1 + 1) * (number1 + number2)) / 2;
#
#   printf("The sum of all numbers between %d and %d (inclusive) is: %d\n", number1, number2, gaussian_sum);
#
#   return 0;
# }

main:
	#
	# TODO: add your code HERE
	#

	li	$v0, 0
	jr	$ra		# return

.data
prompt1: 
	.asciiz "Enter first number: "
prompt2: 
	.asciiz "Enter second number: "
answer1: 
	.asciiz "The sum of all numbers between "
answer2: 
	.asciiz " and "
answer3: 
	.asciiz " (inclusive) is: "
