السلام عليكم
انا ابغي حل هذا السؤال عجزت وانا افكر فية ابد البداية بس ما اعرف وش النهاية
السؤال
Write a program that prompts the user for a string that ends with “java1”, and replaces “java1” with “CSC111”.
Example:
Input: great to learn java1
Output: great to learn CSC111