Package org.tp.exos.tab

Examples of org.tp.exos.tab.MyTab


public class Array extends ExerciceProvider {

    @Override
    public void run(Screen screen) {
        int size = screen.ask("Indiquez la taille du tableau : ", Input.UInteger);
        MyTab t = new MyTab(size);
        screen.show("Contenu du tableau : ");
        screen.show(t);
        screen.show("moyenne des elements : " + t.moyenne());
        screen.show("element min : " + t.min());
        screen.show("element max : " + t.max());
        screen.show("decalage circulaire a droite : ");
        t.rightShift();
        screen.show(t);
        screen.show("contenu trie : ");
        t.tri();
        screen.show(t);
    }
View Full Code Here

TOP

Related Classes of org.tp.exos.tab.MyTab

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.