Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Lab 7 v1.0
//gcc 5.4.0 #include <stdio.h> #include <string.h> int main(void) { int i=0; char x; char X[100]; scanf("%c",&x); scanf("%s",X); printf("%s\n",X); while(i<=strlen(X)){ if(X[i]==x){ printf("%c\n",x); break; } else{ ++i; } } return 0; }
run
|
edit
|
history
|
help
0
LinkedListTest
joseph triangle
150108_RecursivoPrimo
Simple Fork
joseph a triangle
Project 4 v1
Project 4 v.1
MatrixMul_shortxshort
Assignment 8
Stub Program for Problem 3 HW 2