[ create a new paste ] login | about

kamarakay2000

Name:
Email:
Site/Blog:
Location:
Default language:
Favorite languages: C,C++and Python
About:

Saved pastes by kamarakay2000:

C, pasted on Aug 18:
1
2
3
from tkinter import*
import random
import;
...
view (80 lines)
C, pasted on Aug 18:
1
2
3
from tkinter import*
import random
import;
...
view (66 lines)
C, pasted on Aug 18:
1
2
3
from tkinter import*
import random
import;
...
view (32 lines, 17 lines of output)
Python, pasted on Aug 18:
1
2
3
from tkinter import*
import random
import;
...
view (28 lines, 4 lines of output)
C, pasted on Aug 18:
1
2
3
from tkinter import*
import random
import;
...
view (28 lines, 11 lines of output)
C, pasted on Aug 14:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>

struct stats {
    int account;
...
view (59 lines, 2 lines of output)
C, pasted on Aug 12:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
struct stats {
    int account;
    float balance;
...
view (55 lines, 6 lines of output)
C, pasted on Aug 12:
1
2
3
4
5
#include <stdio.h>
#include <string.h>
char *longer(char *s1, char *s2)
{
char *result = malloc(strlen(s1) + strlen(s2) + 1); 
...
view (21 lines, 1 line of output)
C, pasted on Aug 11:
1
2
3
4
5
#include <stdio.h>
#include <string.h>
char *longer(char *s1, char *s2);
int main()
{
...
view (13 lines, 2 lines of output, 1 comment)
C, pasted on Aug 9:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>

struct student {
    char firstName[20];
...
view (71 lines, 2979 lines of output)
C, pasted on Aug 4:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
struct stats {
    int account;
    float balance;
...
view (52 lines, 6 lines of output)
C, pasted on Aug 4:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
struct stats{
     int account;
     float balance;
...
view (47 lines, 6 lines of output)
C, pasted on Aug 4:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
struct stats{
     int account;
     float balance;
...
view (47 lines, 6 lines of output)
C, pasted on Aug 2:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
struct stats{
     int account;
     float balance;
...
view (32 lines)
C, pasted on Jul 30:
1
2
3
4
#include <stdio.h>
int main()
{ 
char *gang[10]={
...
view (32 lines, 10 lines of output)
C, pasted on Jul 29:
1
2
3
4
#include <stdio.h>
int main()
{ 
char *gang[5]={
...
view (27 lines, 5 lines of output)
C, pasted on Jul 29:
1
2
3
4
5
#include <stdio.h>
#include <ctype.h>
char *encryrt(char *input);
int main()
{
...
view (10 lines, 2 lines of output)
C, pasted on Jul 29:
1
2
3
4
#include <stdio.h>
int main()
{ 
char *gang[5]={
...
view (27 lines, 1 line of output)
C, pasted on Jul 29:
1
2
3
4
5
#include <stdio.h>
int main()
{
   char *gang[5]={
        "Spanky",
...
view (16 lines, 5 lines of output)
C, pasted on Jul 28:
1
2
3
4
5
#include <stdio.h> 
void evaluate(int i);

int main()
{
...
view (24 lines, 1 line of output)
C, pasted on Jul 28:
1
2
3
4
5
#include <stdio.h> 
void evaluate(int i);

int main()
{
...
view (22 lines, 1 line of output)
C, pasted on Jul 28:
1
2
3
4
5
#include <stdio.h> 
void evaluate(int x);

int main()
{
...
view (23 lines, 1 line of output)
C, pasted on Jul 28:
1
2
3
4
5
#include <stdio.h>
int main()
{
    int array[]={11, 13, 17 ,19};
    int x;
...
view (16 lines, 4 lines of output)
C, pasted on Jul 27:
1
2
3
4
5
#include <stdio.h>
int main()
{
    int array[]={11, 13, 17 ,19};
    int x;
...
view (16 lines, 4 lines of output)
C, pasted on Jul 27:
1
2
3
4
5
#include <stdio.h>
int main()
{
    int array[]={11, 13, 17 ,19};
    int x;
...
view (14 lines, 4 lines of output)
C, pasted on Jul 27:
1
2
3
4
5
#include <stdio.h>
#include <time.h>
int main()
{
    time_t now;
...
view (11 lines, 1 line of output)
C, pasted on Jul 27:
1
2
3
4
5
#include <stdio.h>
#include <time.h>
int main()
{
    time_t now;
...
view (11 lines, 1 line of output)
C, pasted on Jul 24:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
int main()
{ 
    struct date{
...
view (28 lines, 1 line of output)
C, pasted on Jul 21:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
int main()
{ 
    struct date{
...
view (28 lines, 1 line of output)
C, pasted on Jul 19:
1
2
3
4
5
#include <stdio.h>
int main()
{ 
    float temps[4] = {84.9, 83.7, 85.8, 88.7 };
    int x;
...
view (11 lines, 5 lines of output)
C, pasted on Jul 19:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
int main()
{ 
    struct stats{
...
view (22 lines, 1 line of output)
C, pasted on Jul 19:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
int main()
{ 
    struct stats{
...
view (28 lines, 1 line of output)
C, pasted on Jul 14:
1
2
3
4
5
#include <stdio.h>
#include <string.h>
int main()
{
    char source_string[] = "I am a stranger in a strange land";
...
view (12 lines, 1 line of output)
C, pasted on Jul 14:
1
2
3
4
5
#include <stdio.h>
#include <string.h>
int main()
{
    char password[9];
...
view (13 lines, 1 line of output)
C, pasted on Jul 11:
1
2
3
4
5
#include <stdio.h>
#define INPUT_MAX 64
int main()
{ 
    char input[INPUT_MAX];
...
view (12 lines, 2 lines of output)
C, pasted on Jul 11:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define ROWS 30
#define COLUMNS 10
...
view (17 lines, 30 lines of output)
C, pasted on Jul 9:
1
2
3
4
5
#include <stdio.h>
void repeat(int count);
int main()
{
    puts("At first the raven was like: ");
...
view (22 lines, 11 lines of output)
C, pasted on Jul 9:
1
2
3
4
5
#include <stdio.h>
void repeat(int count);
int main()
{
    puts("At first the raven was like: ");
...
view (18 lines, 11 lines of output)
C, pasted on Jul 9:
1
2
3
4
5
#include <stdio.h>
void soup(void);
//{
   // puts("Pea green soup!");
//}
...
view (19 lines, 3 lines of output)
C, pasted on Jul 8:
1
2
3
4
5
#include <stdio.h>
void soup(void);
//{
   // puts("Pea green soup!");
//}
...
view (19 lines, 1 line of output)
C, pasted on Jul 8:
1
2
3
4
5
#include <stdio.h>
void blorf(void);
int main()
{
   puts("The main function always runs first");
...
view (14 lines, 3 lines of output)
C, pasted on Jul 8:
1
2
3
4
5
#include <stdio.h>
void blorf(void);
int main()
{
   puts("The main function always runs first");
...
view (15 lines, 4 lines of output)
C, pasted on Jul 8:
1
2
3
4
5
#include <stdio.h> 
void evaluate(int x);

int main()
{ 
...
view (24 lines, 1 line of output)
C, pasted on Jul 8:
1
2
3
4
5
#include <stdio.h>
int main()
{
   int x;
   for(x = 0;x <100;x=x+5)
...
view (8 lines, 20 lines of output)
C, pasted on Jul 8:
1
2
3
4
5
#include <stdio.h>
int main()
{
   int x;
   for(x = 1;x <100;x++)
...
view (8 lines, 99 lines of output)
C, pasted on Jul 8:
1
2
3
4
5
#include <stdio.h>
int main() 
{
    int a;
   // a = 20;
...
view (22 lines, 3 lines of output)
C, pasted on Jul 8:
1
2
3
4
5
#include <stdio.h>
int main() 
{
    int a;
    printf("Type an inter:");
...
view (17 lines, 2 lines of output)
C, pasted on Jul 7:
1
2
3
4
5
#include <stdio.h>
char gimmeAnA(void);
int main()
{ 
  
...
view (10 lines, 3 lines of output)
C, pasted on Jul 7:
1
2
3
4
5
#include <stdio.h> 
void evaluate(int x);

int main()
{
...
view (23 lines, 1 line of output)
C, pasted on Jul 7:
1
2
3
4
5
#include <stdio.h> 
void evaluate(int x);

int main()
{
...
view (23 lines, 3 lines of output)
C, pasted on Jul 6:
1
2
3
4
5
#include <stdio.h>
int main()
{ 
   char ch,t;
   printf("Type a letter 'A' to 'M': ");
...
view (15 lines, 1 line of output)
C, pasted on Jul 5:
1
2
3
4
5
#include <stdio.h>
int main()
{ 
   char ch,t;
   printf("Type a letter 'a' to 'z': ");
...
view (15 lines, 1 line of output)
C, pasted on Jul 5:
1
2
3
4
5
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
...
view (18 lines, 10 lines of output)
Python, pasted on Jun 4:
1
2
3
4
5
import fileinput
def fileCheck(fileName):
    try:
        fileObj = open(fileName)
        return 0
...
view (47 lines)
C++, pasted on Jun 4:
1
2
3
4
5
#include<iostream>
int main()
{
int x (2);
int y (0);
...
view (43 lines, 2 lines of output)
C++, pasted on Jun 3:
1
2
3
4
5
#include <string>
using std::string;
using std::cout;
using std:: endl;
int main()
...
view (15 lines, 2 lines of output)
C++, pasted on May 30:
1
2
3
4
5
#include <string>
using std::string;
using std::cout;
using std:: endl;
int main()
...
view (15 lines, 2 lines of output)
C++, pasted on May 1:
1
2
3
4
5
#include<string>
#include<iostream>

using std::string;
using std::cout;
...
view (20 lines, 2 lines of output)
C++, pasted on May 1:
1
2
3
4
5
#include<string>
#include<iostream>


int main()
...
view (20 lines, 2 lines of output)
Python, pasted on Apr 19:
1
2
3
4
5
def main():
   import turtle
   for steps in range (4):
       turtle.forward (100)
       turtle.forward (90)
view (5 lines)
C++, pasted on Apr 18:
1
2
3
4
5
#include<iostream>
int AddTwo(int i);
int main(){
int i(4);
int j(AddTwo(i));
...
view (9 lines, 4 lines of output)
C++, pasted on Apr 15:
1
2
3
4
5
#include<iostream>
int main()
{
int x (2);
int y (0);
...
view (43 lines, 3 lines of output)
C, pasted on Apr 9:
1
2
3
4
5
#include<stdio.h>
int main(void){
int height = 5;
while(height<8);
printf("The statement evaluated to true!");
...
view (7 lines, 1 line of output)
C, pasted on Apr 9:
1
2
3
4
5
#include<stdio.h>
int main(void){
int height = 5;
int width = 25;
if(height == 5||width == printf("123"));
...
view (8 lines, 1 line of output)
C, pasted on Apr 9:
1
2
3
4
5
#include<stdio.h>
int main(void){
int good_teacher = 0;
good_teacher = 10+ printf("you are a great teacher\n");
printf("displaying number is:%d",good_teacher);
...
view (7 lines, 2 lines of output)
C, pasted on Apr 9:
1
2
3
4
5
#include<stdio.h>
int main(void){
char my_character ="a";
printf("The value is:%d",my_character);
return 0;
...
view (6 lines, 1 line of output)
C, pasted on Apr 9:
1
2
3
4
5
#include<stdio.h>
int main(void){
unsigned int a = 5;
printf("The value is :%u",a);
return 0;
...
view (6 lines, 1 line of output)
C, pasted on Apr 9:
1
2
3
4
5
#include<stdio.h>
int main(void){int i = 5;
printf("The value is:%i,%i and %d",i,i,i);
return 0;
}
view (5 lines, 1 line of output)
C, pasted on Apr 9:
1
2
3
4
5
#include <stdio.h>
int main(void){char *my_pointer;
my_pointer = "Hello friends";
printf("The string is:%s",my_pointer);
return 0;
...
view (6 lines, 1 line of output)
C, pasted on Apr 9:
1
2
3
4
#include<stdio.h>
int main(void){printf("Hello worlw \n ,I want to be a Software developer even if just one day in mylife.");
return 0;
}
view (4 lines, 2 lines of output)