See the code:
#include<iostream>
using namespace std;
int main()
{
Type: Posts; User: Suvivor
See the code:
#include<iostream>
using namespace std;
int main()
{
I would to draw it
#####
#......#
#......#
#......#
#......#
#####
1.3.1 Placed Square : Draw a "square" . This time by drawing it with upper left corner on line 7, column 20.
I have a question... I would like to calculate a^2 = b^2 + c^2... but don't to have variable or loops. Only simple code.
#include<stdio.h>
#include<math.h>
int main()
{
...
hahaha...Now, I see what I did. It's because I was at my head that 11.5 * 11.5 was 23. :biggrin::biggrin::biggrin::biggrin::biggrin:
Sorry man.
I don't know where I did mistake. :)
#include<stdio.h>
#include<math.h>
int main()
{
printf("%f",pow(11.5,2));