Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: debutan, besoin d'aide java

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question debutan, besoin d'aide java

    Bonjour, je suis un étudiant en informatique. J'ai parmis mes modules des cours en java. Je suis debut avec la programmation.

    Veillez m'aider avec ces deux exercices icii possible avec des commentaires à chaque line du programme. merci
    Je suis novice en java (debutant).

    Exercice 1*: Facture simple
    Pour calculer rapidement le montant de factures pour les clients d’une petite boutique, on demande d’écrire un programme Java qui permet de*:
    ⦁ lire, à partir d’arguments fournis via la ligne de commande, le prénom et le nom du client et une liste de nombres réels représentant les montants des produits achetés*;
    ⦁ calculer et d’afficher le montant total de la facture.
    Exemple d’utilisation du programme*:

    java Facture Fatou Cisse 1200 3587.6 1665* 895.50
    A payer par Fatou Cisse*: 7348,1
    --------------------
    Exercice2*: Palindrome

    Un palindrome est un mot qui peut se lire de droite à gauche ou de gauche à droite. Par exemple le mot "elle" est un palindrome. Écrire une classe Palindrome qui contient :
    ⦁ une méthode public static boolean cmpCharAt(String s, int i, int j); qui compare le i-ème et le j-ème caractère de s et retourne true s'ils sont égaux.
    ⦁ une méthode public static boolean palin(String s); contenant une boucle permettant de déterminer si un mot passé en paramètre est un palindrome.
    ⦁ une méthode public static boolean palinRec(String s, int i, int j); permettant de déterminer de façon récursive, si un mot passé en paramètre est un palindrome.
    ⦁ une méthode public static void main(String[] args)*; de test de vos méthodes.

    Merci beaucoup d'avoir m'aider.

    Cordiallement, nazir


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: debutan, besoin d'aide java

    Welcome to the Forum! Please read this topic to learn how to post code correctly and other useful tips for newcomers.

    Sorry, English spoken here. Do your best.