Find Jobs
Hire Freelancers

Tr command using C language

$10-30 AUD

Selesai
Dibuat sekitar 7 tahun yang lalu

$10-30 AUD

Dibayar ketika dikirim
We know the tr command allows you to replace or translate characters in of a stream. It takes in two arguments - a set of characters to be replaced and a set of replacement characters. The full functionality of the command can be found using man tr, but this problem only requires a basic implementation capable of solving the examples below. Write a program that implements basic tr functionality. Your program should take two arguments - the set of characters to be replaced and a set of replacement characters. It should then read lines of input from the standard in until EOF and translate them as shown in examples below. Example 1 $ ./tr abc def Input abc aabbcc aaabbbccc Output def ddeeff dddeeefff Example 2 $ ./tr xy XY Input xxyyxx Lorem ipsum dolor sit amet xxyyxx Output XXYYXX Lorem ipsum dolor sit amet XXYYXX
ID Proyek: 13600859

Tentang proyek

5 proposal
Proyek remot
Aktif 7 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
Diberikan kepada:
Avatar Pengguna
I am a long time programmer with large experience in many domains and languages (C/C++ are still my favorites). I also need a chance to start building a 'career' over here. Thanks.
$10 AUD dalam 0 hari
5,0 (2 ulasan)
0,2
0,2
5 freelancer menawar dengan rata-rata $24 AUD untuk pekerjaan ini
Avatar Pengguna
It can be done easily. It will je finished by the end of the day.
$30 AUD dalam 1 hari
5,0 (3 ulasan)
3,2
3,2

Tentang klien

Bendera AUSTRALIA
SYDNEY, Australia
4,7
9
Memverifikasi Metode pembayaran
Anggota sejak Apr 12, 2015

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.