programming language codes
programming C
Search This Blog
Saturday, 16 May 2020
programming C(format commands)
format commands with modifier output
#include <iostream>
using namespace std;
int main()
{
printf("%6d%6d%6d\n",2,4,6);
printf("%6d%6d%6d\n",3,9,27);
printf("%6d%6d%6d\n",4,16,64);
return 0;
}
No comments:
Post a Comment
please wait...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
please wait...