How do I make a normal multiplication table as in C/C++?
When I use Fortran, there's a very huge gap between the number and the value (look at the image)
.
program main
implicit none
integer(kind = 8) :: a, b
print *, "Input a number : "
read(*,*) a
do b = 1, 10
print *, a, " * ", b, " = ", a*b
end do
print *, " "
do b = 1, 10
print *, a, " ** ", b, " = ", a**b
end do
! system("pause")
end program main