hello, I am new C programmer and i am having trouble with the scanf function whenever i do scanf("%f",n1); and i try to enter some numbers like 12.34 . After that when i try to output those numbers using the printf 12.340000 . please suggest some steps so that in scanf the n1 should be 12.34 it should not contain any zero '0'?
Bookmarks