soru 1 ) php ile rakam,harf ve cizgi sayaci olusturma nasil..
Write a php that takes a file as input and computes each of the following.All the necessary checks, such as whether file exists, has read permission, must beperformed. Your program needs to obtain the file name as input and print 3 lines out output corresponding for each case below.
a. Total number of digits
b. Total number of lines
c. Total number of alpha (A-Z, a-z) characters
Use the following content as is within a file (say, myinput.txt) to check the correctness of your program.
Php 1.soru harf,sayi ve cizgi sayma icin txt dosyasi
_____________________________________________________________________________________________________________
| |
| |
|Hello All, |
|We have studied the Data Structures, Algorithms and Fundamentals of Programming in the fall of |
|2010. I hope you all gained some programming experience and you are now comfortable in writing programs. |
|In the Spring 2011 you will have yet another course with me and I am looking forward to seeing you again. |
|Good luck to you all and have a nice and happy new year. |
|December 21, 2010 |
|Hasan Dağ |
| |
|____________________________________________________________________________________________________________|
soru 2) html ve Php ile basit matematiksel işlem
Write a php program that teaches simple math to a young kid. The operations are: addition, subtraction, multiplication and division (+,-,*,/). Your program should allow a user to select an operation, enter two operands and thenperform the operation after the selections. Having done the operation and displayed the result your program is expected to ask whether the user wants to continue doing mathematics. If the user wants to continue, the same screen should appear again to letthe user select the operands and the operator to do. If he/she does not want to continue the program is to say Goodbye.
Php
yok arkadaşlar.estağfullah.
Benim sorum örneğin ilk soruda herhangi bir metindeki geçen küçük büyük harf sayısını,geçen rakam sayısını ve satır sayısını okuyan ve sayan bir php programı.
Php
2.soruda ise basit 4 işlem yapan bir php programı.html sayfasında girilecek rakamlar.
Bu htmlde işlemin seçilmesi gerekli.ondan sonra gönder tuşuna basılmalı.
ne diyon kardeş ?
hocam ikonunuz ve sorunuz beni gülmekten yerlere yatırdı hatta gözlerimden yaş geldi beni gecenin bu saatinde güldürdünüz ya ALLAH da sizi güldürür inşallah ne diyeyim artık
arkadaşın sorusuna gelince hiç bişey anlamadım artı flood atar gibi mesaj atmasınada bir anlam veremedim dogrusu ..