Skip to content

Instantly share code, notes, and snippets.

@piqueprajwal
piqueprajwal / programmingfaster.com
Created June 26, 2018 17:08
programmingfaster.com
#include<iostream>
using namespace std;
struct student
{
char name[50];
int roll;
float marks;
} s[100];
int main()
@piqueprajwal
piqueprajwal / programmingfaster.com
Created June 17, 2018 19:25
programmingfaster.com
#include <iostream>
#include<conio.h>
using namespace std;
void Age(int);
int main()
{
int age;
cout<<"enter your age";
cin>>age;
Age(age);
@piqueprajwal
piqueprajwal / programmingfaster.com
Created June 10, 2018 15:53
programmingfaster.com
#include<iostream>
using namespace std;
int main()
{
int i, a, l, n;
cout<<"Enter total number of elements";
cin>>n;
cout<<"Enter first number";
cin>>a;
l = n;
@piqueprajwal
piqueprajwal / programmingfaster.com
Created June 6, 2018 16:26
programmingfaster.com
#include<iostream>
//using namespace std;(for codeblocks user)
int main()
{
int a[2][3], b[2][3], c[2][3],i,j;
cout<<"enter elements of first matrix"<<endl;
for (i=0;i<2;i++)
{
for (j=0;j<3;j++)
{