Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
ANIRUDDHA
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
!Read a positive integer ‘m’. Write a program to find out the number of digits in ‘m’. write(*,*)'enter the positive integer number=' read(*,*)m a=0 10 a=a+1 m=m/10 if (m.lt.1) goto 20 goto10 20 write(*,*)'the number of digits in ',m,'is=',a end
26555
Show compiler warnings
[
-
]
Show input
Compilation time: 0.12 sec, absolute running time: 0.18 sec, cpu time: 0.01 sec, memory peak: 5 Mb, absolute service time: 0,45 sec
fork mode
|
history
|
discussion
enter the positive integer number= the number of digits in 0 is= 5.00000000