nguyenhappy92

Đổi chữ hoa thành chữ thường c++

Dec 19th, 2015
1,074
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. // Doi chu hoa thanh chu thuong
  2. // Khai bao cac ham thu vien neu co
  3. #include<stdio.h>
  4. #include<conio.h>
  5. #include<string.h>// ham thu vien chuoi
  6. #define SIZE 100
  7. void main()
  8. {
  9. char s[SIZE];
  10. gets(s);
  11. strlwr(s);// ham doi chu hoa thanh thuong
  12. printf("%s",s);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment