#include<stdio.h>
using namespace std;
void main()
{
for (int i=1, i<=5, i++)
{
for(int j=1, j<=i,j++)
{
printf("%c",64+j)
}
printf("
")
}
}
class Smartphone
{
private:
int ramSize;
string processorName;
float screenSize;
int cameraCount;
string androidVersion;
public:
void call();
void text();
void photo();
void video();
}
class Smartphone
{
private:
int ramSize;
string processorName;
float screenSize;
int cameraCount;
string androidVersion;
public:
void call();
void text();
void photo();
void video();
}
class Smartphone
{
private:
int ramSize;
string processorName;
float screenSize;
int cameraCount;
string androidVersion;
public:
void call();
void text();
void photo();
void video();
}
class Smartphone
{
private:
int ramSize;
string processorName;
float screenSize;
int cameraCount;
string androidVersion;
public:
void call();
void text();
void photo();
void video();
}
#include
#include <stdio.h>
int main()
{
int i, n;
printf("Enter the value of n : ");
scanf("%d", &n);
printf("Number Square Cube
");
for (i = 1; i < n + 1; i++)
{
printf("%d %d %d
", i, i * i, i * i * i);
}
return 0;
}
#include <stdio.h>
int main()
{
int i, n;
printf("Enter the value of n : ");
scanf("%d", &n);
printf("Number Square Cube
");
for (i = 1; i < n + 1; i++)
{
printf("%d %d %d
", i, i * i, i * i * i);
}
return 0;
}
np.linspace(0,1,11)