 Générer programme java correct pona koluka terme ya n ya séquence arithmétique.
Tala programme ya Java oyo e calculer terme ya n ya séquence arithmétique: ```java import java.util.Scanner; classe public ArithmétiqueSequence { public statique void principal (Molongo [] args) { Scanner sc = Scanner ya sika (System.in); System.out.println("Kotisa terme ya liboso ya molongo ya arithmétique: "); int Terme ya liboso = sc.Int ya sima (); System.out.println("Kotisa bokeseni ya momesano ya molongo ya matematiki: "); int Différence commun = sc.Int oyo elandi (); System.out.println("Tia motuya ya n mpo na koluka terme ya n ya molongo: "); int n = sc.Int ya sima (); int nthTerm = Terme ya liboso + (n - 1) *Bokeseni ya bato banso; System.out.println("Terme ya n ya molongo ya arithmétique ezali: " + nthTerm); } } ``` Programme oyo esengi na mosaleli akotisa terme ya liboso, différence commune, pe valeur ya n, sima a calculer pe alakisaka terme ya n ya sequence arithmétique. Formule oyo esalelami pona kosala calcul ya terme ya n ezali `firstTerm + (n - 1) * commonDifference`.