fork download
  1. #include <stdio.h>
  2.  
  3. void change(char s[]){
  4. for(int i=0;s[i]!='\0';i++){
  5. if(s[i]=='1'){
  6. s[i]='I';
  7. }
  8. }
  9. }
  10.  
  11. int main(void) {
  12. char s[100];
  13. scanf("%s",&s);
  14. printf("%s",s);
  15. change(s);
  16. printf("=%s",s);
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 5288KB
stdin
1NFORMAT1ON \0
stdout
1NFORMAT1ON=INFORMATION