Rituparnadatta
|
codepad
|
|
Rituparnadatta
|
Saved pastes by Rituparnadatta:
//function use loop and multiplication//
#include<stdio.h>
void sq(int i);
int main (void)
{
|
view (15 lines, 7 lines of output, 1 comment) |
//using loop and make a frequency//
#include<stdio.h>
int main(void)
{
int limit,line,number;
|
view (14 lines, 16 lines of output) |
//vowel and consonant use OR and else //
#include<stdio.h>
int main (void)
{
char ch='A';
|
view (15 lines, 1 line of output) |
//THE upper && lower case and useing else//
#include<stdio.h>
int main (void)
{
char ch= 'W';
|
view (15 lines, 1 line of output) |
//prints a sequence of squares of numbers and use operator *=//
#define N 100
#define A 2
main()
{
|
view (13 lines, 5 lines of output, 2 comments) |
//series resistance //
#include<stdio.h>
int main()
{
float resistance1,resistance2,resistance3,resistance4, voltage, current,totalresistance;
|
view (28 lines, 3 lines of output) |
//Multiplication with for loop and nested loop by use stile//
#include<stdio.h>
int main()
{
|
view (18 lines, 106 lines of output) |
//Multiplication with for loop and nested loop by use stile//
#include<stdio.h>
int main()
{
|
view (18 lines, 211 lines of output) |
#include<stdio.h>
int main()
{
long long i, first=0, second=1, next;
for(i=0; i<10; i++)
|
view (14 lines, 10 lines of output) |
#include<stdio.h>
int main()
{
long long i, first=0, second=1, next;
printf("the first and second",first);
|
view (15 lines, 1 line of output) |
//ARRAY//
#include<stdio.h>
int main()
{
int arra[10]={10, 20, 30, 40, 50, 60, 70, 80, 90, 100};
|
view (12 lines, 10 lines of output) |
#include<stdio.h>
int main()
{
int are[5]={10, 20, 30, 40, 50};
printf("FIRST ELEMENT: %d\n",are[0]);
|
view (11 lines, 3 lines of output) |