program adding_two_number
    print *, "Hello world!"
    !This program is used for adding two numbers
    
    !This is input taking declaration
    write (*,*) "Give two numbers to add"
    
    !This is type declearation
    real a, b 

    !This is input reading declaration
    read(*,*) a, b 
    
    
end program 

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: