Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so dont bother with any of their useless mail servers here and just use oauth login instead. Thank the nice Russians for causing that. :)

Paste

Pasted as Plain Text by elo720 ( 14 years ago )
#include <cstdio>
#include <cmath>

int main()
{
  int liczba = -994;

  int ilosc_cyfr = ceil( log10( fabs(liczba) ) );

  printf("Ilosc cyfr: %d\n", ilosc_cyfr);

  return 0;
}

 

Revise this Paste

Parent: 52350
Your Name: Code Language: